Skip to content

Support entry_class option on collections#545

Merged
ryanmitchell merged 1 commit into5.xfrom
entry-class
Feb 17, 2026
Merged

Support entry_class option on collections#545
ryanmitchell merged 1 commit into5.xfrom
entry-class

Conversation

@duncanmcclean
Copy link
Member

This pull request ensures the entry_class option can be hydrated properly. Setting ->entryClass($class) on an eloquent collection wasn't actually persisting to the database.

Related: duncanmcclean/statamic-cargo#135

@ryanmitchell ryanmitchell merged commit 84a64f3 into 5.x Feb 17, 2026
13 checks passed
@ryanmitchell ryanmitchell deleted the entry-class branch February 17, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants